Params_pre = defaultParamsPre();
Params_pre.usePCA = true;
Params_pre.nPCComponents = 20;
%Params_pre.elipse = true;
Params_pre.trustVolume = 1.0;

Params_pre2 = defaultParamsPre();
Params_pre2.usePCA = true;
Params_pre2.nPCComponents = 15;
Params_pre2.img2vecFnc = 'featuresPseudoZernike';
Params_pre2.img2vecFncArgs = [2 7];
Params_pre2.elipse = true;
Params_pre2.trustVolume = 1.1;

Params_pre3 = defaultParamsPre();
Params_pre3.usePCA = true;
Params_pre3.nPCComponents = 10;
Params_pre3.img2vecFnc = 'featuresZernike';
Params_pre3.img2vecFncArgs = [2 9];
Params_pre3.elipse = true;
Params_pre3.trustVolume = 0.5;

Params_nn = defaultParamsNN();
Params_nn.eg = 0.02;
Params_nn.display = 1000;

Persons = 10;
runFR([Params_pre Params_pre2 Params_pre3], Params_nn, Persons);
writeNumberErrors(Persons)

%vysledek: 91.2
